import 'package:fish_redux/fish_redux.dart';

import 'action.dart';
import 'state.dart';

Effect<IntegralAddressState> buildEffect() {
  return combineEffects(<Object, Effect<IntegralAddressState>>{
    Lifecycle.didUpdateWidget: _didUpdateWidget,
    Lifecycle.didChangeDependencies: _didChangeDependencies,
    IntegralAddressAction.action: _onAction,
  });
}
void _didUpdateWidget(Action action, Context<IntegralAddressState> ctx) async {
  print('did update widget');

}
void _didChangeDependencies(Action action, Context<IntegralAddressState> ctx) async {
  print('did change dependencies');

}

void _onAction(Action action, Context<IntegralAddressState> ctx) {
}
